package com.example.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.annotations.Sensitive;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_user")
@ApiModel(description = "用户实体")
public class User {
    @ApiModelProperty(value = "用户id", required = true)
    private Long id;
    @ApiModelProperty(value = "用户名", required = true)
    private String username;
    @ApiModelProperty(value = "登陆密码", required = true)
    private String password;
    @Sensitive
    @ApiModelProperty(value = "用户邮箱", required = true)
    private String email;
}
